package org.android.demo;

/*
 * Class used by ProjectAdapter
 */
public class ProjectList {
	private String projectTitle;

	public ProjectList (String projectTitle) {
		this.projectTitle = projectTitle;
	}

	/*
	 * This function is called from ArrayAdapter in order to transfrom
	 * the Object into a String to be displayed in list
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString () {
		return projectTitle;
	}

	/**
	 * @return the projectTitle
	 */
	public String getProjectTitle() {
		return projectTitle;
	}

	/**
	 * @param projectTitle the projectTitle to set
	 */
	public void setProjectTitle(String projectTitle) {
		this.projectTitle = projectTitle;
	}
}
